/**
 * \file dunParser.h
 * \brief The parser of the *.dj fie format.
 * Takes the informations from the Lexer and constructs a graph.
 * \author Panos Baroudjian
**/

#ifndef DUNPARSER_H_
# define DUNPARSER_H_

# include "dunLoader.h"
# include "dunLexer.h"
# include "dunGraphs.h"
# include <string.h>

t_graph 	parserCreate(		t_loader	data);

void		parserComputeRooms(	t_graph	dun, 
								t_loader	data);
								
void		parserComputeHalls(	t_graph	dun,
								t_loader	data);

void		parserDestroy(		t_graph 	dungeon);

#endif /* !DUNPARSER_H_ */
